home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d6 / kgraf.arc / KGLOAD.BAT < prev    next >
DOS Batch File  |  1989-04-01  |  2KB  |  52 lines

  1. echo off
  2. if %1c == c goto explain
  3. if not exist KWIKGRAF.EXE goto oops
  4. cls
  5. echo ┌──────────────────────────────────────────────────────────┐
  6. echo │                 Installation of KWIKGRAF                 │
  7. echo │                      on HARD DISK %1                     │
  8. echo │                                                          │  
  9. echo │       Please follow the instructions on the screen       │
  10. echo │                                                          │
  11. echo └──────────────────────────────────────────────────────────┘
  12. echo ┌──────────────────────────────────────────────────────────┐
  13. echo │                                                          │
  14. echo │This routine loads the KWIKGRAF program onto a hard disk  │
  15. echo │subdirectory named %1\KWIKGRAF. If this directory already │ 
  16. echo │exists, the old version is replaced with the new.         │ 
  17. echo │                                                          │  
  18. echo └──────────────────────────────────────────────────────────┘  
  19. md %1\KWIKGRAF  
  20. echo ┌──────────────────────────────────────────────────────────┐
  21. echo │                                                          │  
  22. echo │NOTE:If you got the message "unable to create directory"  │
  23. echo │during installation, it means that the KWIKGRAF directory │
  24. echo │was already created. Installation will still be normal.   │ 
  25. echo │                                                          │  
  26. echo └──────────────────────────────────────────────────────────┘  
  27. echo If you are not certain you wish to continue, press CTRL-BREAK
  28. echo If you are certain you wish to continue, then...
  29. PAUSE
  30. copy *.* %1\KWIKGRAF
  31. echo ┌──────────────────────────────────────────────────────────┐
  32. echo │              INSTALLATION IS COMPLETE!                   │
  33. echo └──────────────────────────────────────────────────────────┘
  34. %1
  35. cd\KWIKGRAF
  36. GO
  37. goto end
  38. :explain
  39. echo The format for this command is
  40. echo .
  41. echo KGLOAD d:
  42. echo .
  43. echo where d: is the drive to copy to.
  44. goto end
  45. :oops
  46. The default drive must be where the KWIKGRAF disk resides.
  47. :end
  48.  .
  49. echo where d: is the drive to copy to.
  50. goto end
  51. :oops
  52. The defaul